
//
// 121217 - AH - Created.
//

package org.japril.jutil.logging;

/**
 * <p>
 *   Interface for objects that formats log messages.
 * </p>
 * @author Arne Halvorsen (AH)
 */
public interface LogFormater
{
  /**
   * <p>
   *   Format.
   * </p>
   * @param clazz  Class logging, may be {@code null}.
   * @param method Name of method, may be {@code null}.
   * @param msg    Log message, may be {@code null}.
   * @return Message, {@code null} if non compiled.
   */
  String format(Class<?> clazz, String method, String msg);
  
}
